package git.soulbgm.pojo;

import java.util.Date;

/**
 * 网络设备状态表
 *
 * @author SoulBGM
 * @date 2022-11-25 16:30:14
 */
public class NetworkEquipmentStatus {

    /**
     * ID
     */
    private Long id;

    /**
     * 网络设备ID
     */
    private Long equipmentId;

    /**
     * 接口名称
     */
    private String portName;

    /**
     * 接口别名
     */
    private String portAlias;

    /**
     * 设备端口对应IP
     */
    private String portIp;

    /**
     * 检测时间
     */
    private Date detectionTime;

    /**
     * 区域编号 0代表不区分区域 其他为自定义
     */
    private Integer regionCode;

    /**
     * 状态（0 ping失败 1 ping成功并且无丢包 2 ping成功但有丢包）
     */
    private Integer status = 0;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getEquipmentId() {
        return equipmentId;
    }

    public void setEquipmentId(Long equipmentId) {
        this.equipmentId = equipmentId;
    }

    public String getPortName() {
        return portName;
    }

    public void setPortName(String portName) {
        this.portName = portName;
    }

    public String getPortAlias() {
        return portAlias;
    }

    public void setPortAlias(String portAlias) {
        this.portAlias = portAlias;
    }

    public String getPortIp() {
        return portIp;
    }

    public void setPortIp(String portIp) {
        this.portIp = portIp;
    }

    public Date getDetectionTime() {
        return detectionTime;
    }

    public void setDetectionTime(Date detectionTime) {
        this.detectionTime = detectionTime;
    }

    public Integer getRegionCode() {
        return regionCode;
    }

    public void setRegionCode(Integer regionCode) {
        this.regionCode = regionCode;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}